package com.example.site.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.site.entity.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author haoka
 * @description 针对表【hotel_order】的数据库操作Mapper
 * @createDate 2023-04-12 21:30:16
 * @Entity com.example.site.entity.Order
 */
public interface OrderMapper extends BaseMapper<Order> {
    Page<OrderJoinType> selectPageOrderJoinType(@Param("page") Page<OrderJoinType> page, @Param("ew") QueryWrapper<Order> query);

    Page<OrderJoinTypeAndUser> selectPageOrderJoinTypeAndUser(@Param("page") Page<OrderJoinTypeAndUser> page, @Param("ew") QueryWrapper<Order> query);
}




